Distributed systems course project: Self regulating distributed system for simulating power management in a condominium