Initial commit

Fully working code :)