Task manager and geolocation

Errors are resolved in the updated files but DB isn't working well yet.