Cleaning code, format code, fixing php notices.