Got dependencies working somewhat
fixed first real problem