removed prelude, made everything a bit simpler
added some conversion macros