Fixed structure, fixed some bugs. Remove jQuery.

Removed jQuery because it's not a dependency.
Restructure the directory.