Added CSS minification.
Make class abstract
Updated Relations and main logic