add src files and config