Added core files and fully working example