Rebuilt project architecture

Complete restructured architecture to approach RESTful principles.