split library into smaller files, now compiling static files