catagorize functions into different directories, added __init__.py for import