Added comments and refactored code in monster factory
Added comments and refactored code in monster factory