migrated source code into src directory, moved test in test dir