Major rework

File structure moved to allow for importing of files in Python. Test
files renamed to conventions.