base applications system

added the base applications system
permissions

*permissions added and moved to server.
*routers defined