test basic format of file, add swp to .gitignore
finish loadBridge except index to type conversion