First version with proper graph addition. Also a better SBT build file.