chore(maintain): Overhauled entire permission system and added Mongoose/MongoDB backend support.