Xcode port + db/log + modularization working

blank yes dub step