starts app in non-daemon mode