Implemented app start and stop
Fixed some put and post logic issues