Refactor + Return Statement

Added support for statements and added the return statement for the
base. Also refactored out a bit of common library code into helper
functions to make extending crystal easier.