Fixed bugs + Added minnal admin application
Fixed a cycle issue in entity tree creation