fix the case when no events exist
split sample files and settings to customize application
Merge branch 'feature/flexible_settings' into develop
Merge branch 'develop'