Added basic functionality. It works, but it's not pretty.