have a second URL rewrite rule for POST request method
register all resources at startup
Apply singleton pattern to ResourceManager
Add the GET method to the /api resource