After more work, coding and thinking (an unusual ocurrence) I have finished phpWebDesk 0.2. This release conteins the automatic detection for the includes, so all you have to do is include the file. Any bugs, see the tracker at http://sourceforge.net/projects/phpwebdesk