Extracted the functions for creating accessor functions to a separate file.
Created a version of accessor functions that use the compiler.