working on actually implementing sources
got basic config loading working
minor improvements