some classes from wp8 project replaced by lincks to reduse code duplication