Issue #1
Restructured code so that it is appropriate for variable handles

Signed-off-by: Rick Minerich <richard.minerich@gmail.com>
Removed some dead code

Signed-off-by: Rick Minerich <richard.minerich@gmail.com>
Some useful performance tweaks from Jack

Signed-off-by: Rick Minerich <richard.minerich@gmail.com>
Removed some commented out code

Signed-off-by: Rick Minerich <richard.minerich@gmail.com>
Test fixes for issue #17
New access style.