Updated the liscence. Added base magic module.