added foundation for project
added graceful shutdown