Cpanel refactor

Please check if the edit_spell and add_spell views handle image upload correctly.