Critical update

- Configure start controller
- Fixed task complete errors
- Created main.js with all code