Added commandline interface. Not tested yet because boost and linkers start to annoy me.