Refactored API routing and cleaned up application configuration in anticipation for implementing Angular