Working on casting magic

Script basics, work still needs to be done on behavior and controller