Add initial source code from Kris (20140425)