Placed all user_functions in their own file

User functions being the functions capable of being called from the
command prompt.
Some tweaking, new user functions