Semi-working version

Still has no interface and weird errors of 8.something, but at least
works.