Refactor file reading in Ocean
String performance test
Basic templating and associated tests