Divide sinatra app and loop app
30sec sleep