OOP concept implementation in different files