Rough look implementation of the power system, not transfering power yet :P