Wrote commandline interface that can take all pars

Usage is printed if parameters are not specified.

Added some constants, they are probably wrong. Need them for error
check?