Adding indexes to the models

- Moving Problem model to shared folder