minor refactoring of initialize
add inst/forcedirected to gitignore