created basic patient model class and view class and template