init xcode project (with gitignore)
add some functions