separated libat from driver and created linux type makefiles