refactored thalassa plugin to match patter of other pluginexpress projects