Implemented functionality and wrote readme