cleaned up languagemanager

Signed-off-by: Lucas Arnström <lucasarnstrom@gmail.com>