rename commands; add has_metadata
add options to compile as library; update Xcode project to library and app version