1) Added support for database read using JDBC api. 2) Refactored the code to make it modular by splitting into apt packages. 3) Implemented the overall N popular songs algorithm end-to-end.