fix config location
fix database
finish api