changed everything over to the mega tutorial framework. HUGE commit
added the tickets table in models and migrated the database