added dynamic title adding
coverted all files to use space indentation