added resources
did more work on lexer