optimized yaml reader and added testing tooling