Changed function of import.

New way of importing from switchking. Dropped loading to xml and started
to load into array instead. Because of interference if lightning was
running on more than one browser att the same time.

Started to adding support for lightning to be run from child catalog on
webserver.
cleanup