Refactor charm to build yaml build definition a little more explicitly.
Add application charm and begin configuring relations.
Configure relations between www, app, and db.