Mobileclient API

Major refactoring, fixed most open issues.
Switched to Mobileclient API and added more functionality to library browsing.