Add Electric Imp code and restructure files.