Encapsulated controlling program for NewPort TL6700 Tunable Laser