Add function to detect and import CSS and JS files
Add some new constants for defining the root directory and URL of PiPanel