update database service call

added first model test for control
improved package scripts