improvements and add enemy parsing code