initialise the home directory
get rid of java conversions compile warning
made a bit more system independent
initialise neo4j on start and shutdown hooks