Configuration improved - app functions improved - structure improvd

It was doing multiple queries to get the token, now it’s not.
The config structure was too messed up, now it’s fine.
Some methods were unused and dangerous in the human class, they are now
removed.