added buffer operators and more refactoring
Merge branch 'master' of github.com:JosephMoniz/prescription