Initial commit

Source added
Readme updated

Readme and main function edits