Fixed api and album db query to use index properly. Added lazy loading lib