created main functionality
updated readme