Stub in branch checking
Add repository metadata service for checking branches
Add some more stubbing and comments for validation checking