added switching to mpower device class
added vim temp files to .gitignore