Created main function, and updated README.