Removes unnecessary new lines in Header & Create proper implementations for functions (with return type.)