Added skeleton for weighted graph builder and fixed some names of classes