creating combat classes and repositories