Moved files to separated directories, added ms sql support