Add WMV support

Added WMV support and laid the foundation for SWF support.