Rename instances.yaml to instances.yml
Add ActiveRecord and migrations