Create swag.as

This should close issue #6