Merge pull request #91 from jhedstrom/custom-class-generator

Implements a custom class generator

Signed-off-by: Jonathan Hedstrom <jhedstrom@gmail.com>