KeycloakApplication refactor

Moved stuff from inheriting classes into this class and removed the other classes.