rearranged code structure

a larger rearrangement of code moved from handlers to task. minor
adjustments to database layout and acurate data in the database. minor
addition to project management document.