Add some settings in admin panel and clean code.