Bug fixes, more abstraction of code to keep the android system fn's
clean, and implemented filtering based on quantity for trending and
rankings