OO'ed it for second pass.
Added flat file, ios and BB10 classes