Added build system, and a simple commandline interface