Tables and buttons places

I placed all the tables and buttons, and put together all the code for the buttons (though I haven't had a chance to test them yet; I'm having some emulator trouble on my machine).