More progress in parsing and loading smd file