initial commit
more restructuring with package name and test files
removed main function files and added package