Testing, Bug fix and restructuring!

+ implemented tests, 93% coverage.
+ added initial setup.py.
* moved sample files to tests folder.
+ fixed strict mode always being false.
Actually committing tests this time...