Mode standalone

- replaces #31 
- blocked by #28