Removed out-dated functions and files from package structure and tests.