initial commit, starting redevelopment of plugin from scratch