Refactoring code
Constructing sogbotmod