Adjust API

Adjust beauty-api and sqlite method;
Finish basic beauty pages;