refactor levels functionality
add files