Added sfml stuff and changed allocator lambdas to interface + template class