init entity package
add tick method for entity logic
clean loop