Create simple structure of date class
Clean main template
Code style applied