Basic framework working finally.