Initial commit.

Somewhat working. No error-handling and such.