editor: move object-specific code to module object from module st
editor: use templates