start for kratos

initial models; initial json output used by angular branch; very early code. 
Dupe of line 6