added function for getting direct static file
written code to detect mac ipad
initlibs file created to initialise default library