better file class handling
remove password module since it doesn't really protect your images. keeping it would send the wrong message about security. a private gallery is better separated from an open one and protected by http auth.
some namespace changes
cleaned up thumbnail rendering
did some cleaning up, removing unnecessary functionality, shortening things