pack dev files into dev-directory and clean code