Change code structure. Add redirect for http get method at /api
Fix minor bug with null reference
Added log to post handler methods
Added log to post handler methods