Directory structure reorganization

+ The hooks/ directory changed to hook/
+ The exts/ directory changed to ext/
+ The uploads/ directory changed to upload/
+ The logs/ directory changed to log/
+ Added script/ directory