Remove LayoutFactory.java into the package plugin.util

RT
Create package named plugin.log

To record logs in the future
Code adjust

RT