Condense functions for registering from 3 to 1

Changed it from being one function for each tool to one function for
each type of tool, fixed some typos.