apply separation of concers pattern

add one servlet for each operation to db

add user and measurement tables

now time column is part of measurement table

Change-Id: I51730e35bdc8924263371aea50ec07746699fc17