WP8 support

Added Windows Phone 8 support.