Modularized the application.
Added routes