added model folder, and events class inside