DAO,BAO files are not reading in custom folder
If you want to create customizations for CiviCRM you should do so in extensions. You can read more about customizing CiviCRM and creating extension in the CiviCRM Developer Guide. 

You could also check if there is a CiviCRM partner near you on this list to find out if they are organizing CiviCRM developer trainings you can follow.