Moved Library, Security Fix

Moved some libraries to lib folder, added HTML Purifier, Input Sanitize