Move updating orders and programs to service and dao
Merged from pull
Removed unused code
Merge pull request #4 from albertsaave/master

Refactored controller to use service.