Language manager + others

- Adding a prototype language manager
- Some fixes