moved bind from a directive to the parser
cleaned up parser...although it looks like I'll neeed to rewrite it