small refactoring and splitting scala files
basic tagging infrastructure
tags edit on word detail