added module for messages for synt analyzer
refactor lexical analyzer
move goals procedures to separate file