Simplified the program by importing code_tools and just calling the appropriate
methods.

Going to keep this stand alone program for now since it is easier to run.