made the plugin a class and global_message into a wordpress option
had some issues merging, re-committing