started implementing reference counting
Merge branch 'gh-pages' into ref_count
finished refactoring to allow reference counting
Merge pull request #18 from biometrics/ref_count

Reference counting implemented