Added most directory handling and docs thereof, started creating a command line argument handler.