Improve blocks interface

Adopt new naming conventions
Use glm vector types