Extracting base to separate file, adding better variable handling, updating most of the css