Created touch function and rearranged the modules structure.