Rewrite

Removed errors, simplified, made it stylable etc.