Recommendation work in the post

- Change the way to store similarity matrix
- Complete test of providing recommendation
- Clean up the code, delete unrelated codes