layouts rework, fragments implementation, refactoring