Added rest kit, magical record and mogenerator

Mogenerator build target added
Removed event.m and h