Added dependencies.  Fixed main