added ability to run Niviane as a non-service for debugging purposes.