added database saving of paths
added movement graph synthesis+drawing