added libraries and main page design