added makefile
added writepermission and bluetooth file reading