cleaned bower, main updated for db