Usage: taskmanager.sh (start|start-foreground|stop|stop-all)