Lokalne fcgi, refactoring