update docs
moved helper functions to new file
added helper_functions file