added migrations and mains objects