added command line arguments + some documentation