Work on BE-180(Improve code quality), fix unit test failure  issue.
Work on BE-180(Improve code quality), fix unit test failure  issue.

betterlife/flask-psi,betterlife/psi,betterlife/flask-psi,betterlife/flask-psi,betterlife/psi,betterlife/flask-psi,betterlife/psi