Add app code for simple worker to test worker lifecycle
added basic app to test app lifecycle
support rabbitmq complex lifecycle tests