cleaned up code for menu
Add admin function to create resource, resource configuration, resource config option