error-handling fixed & some phpdoc added
removed idea-folder