restructure files to use resources dir instead of static