added events
removed some old, unnecessary php files