Clean up code by introducing an egg record type
Some nicer define indentation
Some code recordization code cleanup
Bump version to 0.5