fixed static file routing and adding leap libraries