General updates.

Add permission nodes.
Change Formating.
Use non static references for server.