move physics code to gameplay and add project syntax