v0.5 rewrite

code rewritten to utilize CSS styling