Phone app mostly done
Common code refactored into a separate library