Refactored for better organization, working to get real time update
editor status