move resource folder into db