Added sub commands

fixes #111