move fs main file up to top level