first try to OOP / MVC