added data to pass entire model
removed some duplicate code
added initial aws reserver instance support