Added lines definition in header, added command line compatibility and updated README