cleanup

I removed preamble and some other unused stuff and fixed some comment syntax.