Modified application structure. Added routing.