Added doc folder, added DB and api design