Added scripts for Ctrl and Service
Some style changes
Some comments added
Service and Ctrl are in their own files for good understanding of code