added view controller fast init functions; added isPhone and isPad