Adding model for cloudfront as well as some unit tests.