Complete the basic framework

Now, the system works!