Setup root directories for app and db