Refactored web front-end. Added controller, models and views files.