Added TextEncoder, added import command, modified manager and services and refactoring