documentation added, basic command line interface added