Add machines, projects
Fix db connection