more progress and bug fix on IC2 style energy network