refact beangle static content loader