Got basic functionality working.