added docs, support image building