Merge pull request #1 from tabascoeye/master

Refactoring and integrated Travis-CI
travis should compile everything
use builtin lex variable