use this command when compiling, truffle compile --contracts_build_directory=./src/{your directory name}