Added dependency to core in gui project