Refactored the application's base architecture.
Removed unused files.