added comments and basic functionality
initial parser and main file