I am trying to study the foundations of mathematics from the bottom-up (propositional logic then predicate logic then the axioms of set theory.) Currently, I'm considering the following Hilbert-style axiomatization of propositional logic, but several issues are confusing me. $$A \rightarrow(B \rightarrow A)$$ $$(A\rightarrow(B\rightarrow C))\rightarrow((A\rightarrow B) \rightarrow(A\rightarrow C))$$ $$(\neg A \rightarrow\neg B) \rightarrow(B \rightarrow A)$$ Modus ponens is the only inference rule: $$A \rightarrow B , A \vdash B$$
From what I can tell, these are not actually axioms but axiom schemas, with symbols $A$, $B$, and $C$ being characters in a "meta-language" for which actual propositions in the object language would be substituted. I also am guessing that the connectives $\rightarrow$ and $\neg$ represent both themselves as logical operations in the object language and symbols referencing themselves in the meta-language.
1) Doesn't there need to be some sort of substitution rule for using the meta-language to reference the object language; that is, plugging in a proposition $P$ which has a definite but unknown truth value into the meta-symbol $A$ which can take in both true propositions and false propositions? Obviously, you just "plug it in" but...shouldn't there be a more rigorous/explicit definition? Ideally, I'm imagining a substitution rule for axiom schema that is similar (or the same as?) a substitution rule of inference for replacing terms in the object language which satisfy logical equivalence.
2) Consider the axiom $P \rightarrow(Q \rightarrow P)$, generated from the first above axiom schema by plugging in the atomic propositions $P$ and $Q$ for $A$ and $B$ respectively. Are these atomic propositions an as-of-yet undefined part of the propositional logic or are they outside of it? Could you say that the above axiomization is the syntatics of this propositional logic while specific atomic propositions belong to the semantics? For that matter, are the logical values True and False part of the propositional logic, some meta-languague describing it, or the propositional logic's semantics? Could you say the meta-language provides the system with semantics?
3) Modus ponens utilizes the symbols "$,$" and "$\vdash $" which are not connectives defined in propositional calculus; in fact "," seems to require some notion of sets even though the axioms of set theory are not yet available. I thought propositional logic could serve as the absolute bottom level of mathematical foundations and yet it seems that the notion of forming a set of objects (so you can apply an inference rule and generate a theorem) is required...but making statements about sets requires propositional calculus...how can this be reconciled?
This is my first time posting on math.stackexhange so suggestions on post etiquette and clarity are welcome. Thanks!