implementation of model from yaml spec appendix B - refs #1

I just added every point of appendix B3 from yaml spec to simple java objects