Refactored access parsing, implemented basic local var support.