Got basic framework working