lots of new files, new error checks
iphone simulator uses localhost for rails server