Fixed bad commit.
Add workflow plugin and cleaned some code