Fix xcode project generation
Share rakefile
File system write support, matrix optimisations and database binding improvements