Init

Initial commit some classes added, sample only works on iphone.