Create manager ap

Move models.py from replay to manager