backup
Stable version
Added tabs. Model's refactoring