Cleanup and simplify

Also moved prototype css to separate file