Add hook for serialising polymorphicType
Add ActiveModelAdapter and Serializer
Document the AMS adapter
Move everything to a package