add usage and commandline parsing