implemented lexer main code
added clexer
refactored files