Changed the code back to app/admin instead of app/sing
Determining namespace from config file for creating resource directory