Android App patterns: Library