Code migration

this a copy of the current beta code from:
https://github.com/zdeveloper/CampusSynergy