Converting Trainer into static class