Use custom types for all types
Merge pull request #41 from sunesimonsen/types

Use custom types for all types