Moved type aliases to main.rs

Closes https://github.com/PistonDevelopers/hematite/issues/29