Added generic platform exception
Platform application interface and impl for platform startup and shutdown
Cleanup