added level and events
setting up levels
Bug fixes and some things added