Major code rewrite.

Code clean-up finished. Post layouts are now totally different.

Some materials are still missing, let me know as well if I missed
something!