removed everything that is not library code or template