added basic function for inserting/updating tips
added basic gui features to support adding tips