Adding Swift port of animation framework

This is my first attempt at Swift and may not be the best way to
achieve the outcome but it works.  Use at your own caution. ;)