refactor + huge stuff and shit
added battery constant evaluation
fixed a lot of stuff
klqsdjfh