Changed keyboard manager to make it reusable all over the project.