add models & management command
fix test running