Changed TIME fields to INT for convenience

Triggers are updated according to changes as well
Updated according to database structure changes

TIME values changed to INT values for Entries
Changed according to database structure

Time object changed to Integer
Time objects changed to Integers