Some restructuring to support the github hangar
Work on github hangar
Instantiating hangar and repository in reality mode
Support for reality mode