start for kratos

initial models; initial json output used by angular branch; very early code.