move shell class to main plugin file and rename it.
fixes #49
fixes #48