Improved platform-independence

Replaced additional '/' with DIRECTORY_SEPARATOR, added configurable
paths to app, db, library, and public folders