Inital commit with simplified version of ltc1858