Administrative form to create new entities of a custom entity type
As far as I can see, the Entity Creation Kit module provides these create/edit/delete forms out-of-the-box. Although you should probably redefine your entities with help of that module.

Otherwise, you can perhaps take a look at the ECK module source code and use the relevant parts for your custom module.