Added argument parsing with getopt
Added proper usage text