main commit

Adding all code (already worked on prior to repo creation)