Called init function within main.py

also linked css to the yaml file