changing aproach now using minimal sqlalchamy and no helper classes