Added command line arguments parsing

Also improved compilation errors output