Procfile added
Setting ruby version in gemfile
Error handling and size of resulting image as parameter