Magic

Added magic system.