add resistors and refactoring

resistors (template)
small refactoring electro cat