Refactored into handlers
Cleaned up code
Updated programs.json