organize code in classes