public void addBookType(BookType bt) {
		Connection conn = null;
		PreparedStatement ps = null;
		//Do nothing if book type is not properly instantiated
		if(bt == null)
			return;
		try {
			conn=DriverManager.getConnection("jdbc:mysql://localhost:3306/librarysystem?user=admin&password=123456");

			//Insert attributes from book type into table
			ps = conn.prepareStatement("INSERT INTO BookType(typeName,maxReservation,overdueFee) VALUES(?,?,?)");
			ps.setString(1, bt.getTypeName());
			ps.setInt(2, bt.getMaxReservation());
			ps.setInt(3, bt.getOverdueFee());

			ps.executeUpdate();
		} catch (Exception e) {
			System.out.println(e.getMessage());
		}
		finally
		{
			try {
				if(conn != null)
					conn.close();
				if(ps != null)
					ps.close();
			} catch (Exception e) {	}
		}
	}