added some commenting for .htaccess
syntax error: missing )
wrong case on variable name
scoping
case on variable name
is_variable() method to determine if a chunk of URI is a variable.
refactor to use the is_variable method. Variable is checked in the parse variable function now.