Building a commandline framework