OOP can still be embraced in the code. But for now the basics of publish are implemented in OOP-style.