added factory class to make monsters