fixes main functionalities;
adds README.md;