Cleaned up core.php
Added Javascript and stylesheet sidebar and delete functions