added DavidAI.h and some restructuring

Signed-off-by: OEtzi007 <DavidSchmidt314@gmail.com>