Renamed files. 
Added events and commands.