Work on parser - Globals

Read and error checking