Refactoring

Move simple function translations to external file