Added admin functions
Update admin management and fixed gradle to be able to work with jboss 5.1