first commit

got basic file type handling done..lots too do !!