Removing dependency on Silex