Added modules with helper functions and misc functions.