refactoring - OOP
improvements
databse handler
preparements for ajax requests
improvements