Basic Silverlight support added. 
Please refer to TODOs in code.