You can just accept it at face value and it's an excellent detective movie, or you can pick apart the plot elements and go crazy trying to figure out who knew what when and who is on whose side. It's cool.