Removed data handlers from Purple UI

Added library project to purple for sharing common code with Golem.