Migrate the cfn script to serverless application framework. Migrating will simplify build and deployment, and set the stage for serverless application publishing.