Added headers and fixed an issue with the algorithm strategy chain. updated some formatting