Command line parameters and documentation.

- command line counterpart for config options added
- README edited
- find and use allocation library from the dependencies