Problem with a custom library

Why are you naming files with a leading underscore? That's rather unusual.

It's hard to give more details about a solution with only seeing a few snippets.

Perhaps attach a .zip file with all the relevant files.