added docblocks on php class methods and fixed a few php notices
remove IDE files from repo